package com.kaiyiweitong.tongxing.activity.my;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.kaiyiweitong.tongxing.R;
import com.kaiyiweitong.tongxing.activity.my.check_info.CheckIdCardActivity;
import com.kaiyiweitong.tongxing.activity.my.check_info.CheckEmailActivity;
import com.kaiyiweitong.tongxing.base.BaseActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by ASUS on 2017/12/25.
 */

public class CertificationActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_certification);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.rl_email, R.id.rl_id_card})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.rl_email:
                Intent intent = new Intent(this, CheckEmailActivity.class);
                startActivity(intent);
                break;
            case R.id.rl_id_card:
                Intent intent1 = new Intent(this, CheckIdCardActivity.class);
                startActivity(intent1);
                break;
        }
    }
}
